package com.gg.registration.hospital.service;

import com.gg.registration.model.hosp.Department;
import com.gg.registration.vo.hosp.DepartmentQueryVo;
import com.gg.registration.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author chenjunjia
 * @date 2022/4/9 14:31
 */
public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);

    //根据科室编号，和医院编号，查询科室名称
    String getDepName(String hoscode, String depcode);

    List<DepartmentVo> getDepartmentTree(String hoscode);

}
